package com.vf.admin.client.service;

import com.vf.admin.common.splitpage.SplitPageBean;
import com.vf.admin.miaodong.entity.AppRoom;
import com.vf.admin.miaodong.entity.AppRoomCollect;
import com.vf.admin.miaodong.entity.AppRoomImg;

import java.util.List;

public interface AppRoomCollectService {

    /**
     * 根据userid和roomcode获取房间收藏信息
     * @param userid 用户id
     * @param roomid 房间id
     * @return
     */
    public AppRoomCollect OfficialPersonalList(Integer userid,Integer roomid);

    /**
     * 根据userid 查询收藏的房间
     * @param userid 用户id
     * @return
     */
    public List<AppRoomCollect> findList(Integer userid,SplitPageBean pageBean);

    public AppRoomCollect get(Integer id);

    public void save(AppRoomCollect collect);

    /**
     * 房间收藏添加
     * @param userid userid
     * @param room 房间
     */
    public void roomCollectSave(Integer userid,AppRoom room);

    public void del(Integer id);
}
